今天簡單練習一下python
之後要用來機器學習
從hackerrenk稍稍練習
if __name__ == '__main__':
n = int(input().strip())
if n % 2 != 0:
print("Weird")
elif 2 <= n <= 5:
print("Not Weird")
elif 6 <= n <= 20:
print("Weird")
elif 20 < n:
print("Not Weird")
if __name__ == '__main__':
a = int(input())
b = int(input())
c = a//b
d = a/b
print(c)
print(d)
還有跑去看bilibili 20分鐘快速學python